package com.marktotop.service;

import com.marktotop.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author marktotop
 * @since 2021-05-23
 */
public interface IDepartmentService extends IService<Department> {

    /**
     * 查询所有部门
     * @return
     */
    List<Department> getAllDepartment();
    /**
     * 添加部门
     * @return
     */
    void addDept(Department department);

    /**
     * 删除部门
     * @param department
     */
    void delDept(Department department);
}
